const { db, query } = require("../../db/db");
const util = require("util");
async function GetIntertesLabelList(req, res) {
  const select_list_sql = util.format(
    "Select \
    Id, \
   IFNULL(LabelKey,'') as LabelKey, \
   IFNULL(LabelName,'') as LabelName \
   From  InterestLabel"
  );

  const select_list_sql_res = await query(select_list_sql);
  res.send({
    status: 0,
    intertesLabelList: select_list_sql_res,
  });
}

module.exports = { GetIntertesLabelList };
